<%-- 
    Document   : jsonConsultarTramite
    Created on : 08/09/2010, 12:41:24 PM
    Author     : Home
--%>
<%@ page contentType="application/json; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="pe.gob.pnp.despachadores.*" %>
<%@ page import="pe.gob.pnp.actions.*" %>
<%@ page import="java.util.*"%>
<%
    String idtramite= request.getParameter("idtramite");
    List<Tramite>  listatramite = TramiteDespachador.obtenerTramite(Integer.parseInt(idtramite));
    pageContext.setAttribute("tramite", listatramite);
%>
<c:set var="i" value="0"></c:set>
{
		tablaTramite:
		[
        <c:forEach var="tramite" items="${tramite}">
        ${i>0 ? "," : ""}
		{
            
		}
        <c:set var="i" value="${i+1}"></c:set>
        </c:forEach>
		]
}
